package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "Index",
            Router: `/`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "PostLogin",
            Router: `/api/login`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "DeleteUser",
            Router: `/deleteuser`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "IndexLogin",
            Router: `/login`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "IndexRegister",
            Router: `/register`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "PostRegister",
            Router: `/register`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "LoginSuccess",
            Router: `/success`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["clouds/controllers:UserController"] = append(beego.GlobalControllerRouter["clouds/controllers:UserController"],
        beego.ControllerComments{
            Method: "UserSystem",
            Router: `/userSystem`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
